import { createContext } from 'react'

export const DemoUseContext = createContext(null)

export const DemousePromise = () => {
  return new Promise((resolve, reject) => {
    setTimeout(() => {
      resolve("DemousePromise 输出")
    }, 1000)
  })
}